<header class="container py-3">
    <div class="row">
        <div class="col-md-12">
            <div class="navbar navbar-expand-md navbar-dark bg-success shadow-sm rounded">
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbars" aria-controls="navbars" aria-expanded="false" aria-label="展开导航">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <nav class="collapse navbar-collapse" id="navbars">
                    <ul class="navbar-nav mr-auto">
                        <li class="nav-item"><a class="nav-link" href="{dede:global.cfg_cmsurl/}/">首页</a></li>
                        {dede:channel type='top' row='10' currentstyle="<li class='nav-item'><a class='nav-link active' href='~typelink~' ~rel~><span>~typename~</span></a></li>"}
                        <li class="nav-item"><a class="nav-link" href="[field:typeurl/]">[field:typename/]</a></li>
                        {/dede:channel}
                    </ul>
                </nav>
            </div>
        </div>
    </div>
</header>